import path from 'path'

const _path = process.cwd()
// 插件目录名
const pluginName = path.basename(path.join(import.meta.url, '../../'))
// 插件根目录绝对路径
const pluginRoot = path.join(_path, 'plugins', pluginName)

export { _path, pluginName, pluginRoot }